/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package im.eventpackage;



import java.util.Vector;

/**
 *
 * @author Giovanni
 */
public class EventUtils_old {

    private String id=null;
    private Vector evContainer=new Vector();

    public EventUtils_old(String id){
        this.id=id;
    }


    public void fillPredicate(Predicate_old pair){
        evContainer.add(pair);
    }

    public void fillEvent(Event_old event){

        Predicate_old p=new Predicate_old(event.getName(),event.getValue());

        evContainer.add(p);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Vector getEvContainer() {
        return evContainer;
    }

    public void setEvContainer(Vector ev) {
        this.evContainer = ev;
    }






}
